package com.xxgc.vfc.common.error;

import lombok.Data;

/**
 * @Author: SJY
 * @Date: 2023/11/14 14:53:52
 * 作为所有自定义异常的父类
 */
@Data
public class BaseRuntimeException extends RuntimeException {
    //定义通用属性
    protected String errorMsg;

    public BaseRuntimeException errorMsg(String errorMsg){
        this.errorMsg = errorMsg;
        return this;
    }
}
